package com.zmzncs.lmtc.module.promotion.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zmzncs.lmtc.module.promotion.pojo.month_rule.MonthRuleDTO;
import com.zmzncs.lmtc.module.promotion.pojo.reserve_rule.ReserveRule;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zmzncs.lmtc.module.promotion.pojo.reserve_rule.ReserveRuleAddForm;
import com.zmzncs.lmtc.module.promotion.pojo.reserve_rule.ReserveRuleDTO;
import com.zmzncs.lmtc.module.promotion.pojo.reserve_rule.ReserveRuleUpdateForm;

/**
 * <p>
 * 促销-预约规则表 服务类
 * </p>
 *
 * @author 高博文
 * @since 2020-12-14
 */
public interface ReserveRuleService extends IService<ReserveRule> {

    /** 添加预约规则*/
    void addReserveRule(ReserveRuleAddForm form);

    /**查询预约规则*/
    IPage<ReserveRuleDTO> getReserveRuleParkList(Page page);

    /**修改预约规则 */
    void updateReserveRule(ReserveRuleUpdateForm form);
}
